package com.heima.behavior.service;

import com.heima.model.behavior.dtos.LikesBehaviorDto;
import com.heima.model.behavior.dtos.ReadBehaviorDto;
import com.heima.model.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;

public interface BehaviorService {
    /**
     * 用户行为点赞
     *
     * @param dto
     * @return
     */
    ResponseResult likeBehavior(LikesBehaviorDto dto);

    /**
     * 文章查看次数统计
     *
     * @param dto
     * @return
     */
    ResponseResult readBehavior(ReadBehaviorDto dto);

    /**
     * 不喜欢或者取消不喜欢
     *
     * @param dto
     * @return
     */
    ResponseResult UnlikesBehavior(UnLikesBehaviorDto dto);

}
